#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QTcpServer>

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();



private slots:
    void on_acceptError(QAbstractSocket::SocketError socketError);
    void on_newConnection();

private slots:
    void on_btn_Start_clicked();
    void on_btn_Stop_clicked();

private:
    Ui::MainWindow *ui;

    QTcpServer *tcpServer;
};

#endif // MAINWINDOW_H
